package com.wntms.yjj.service;

import com.wntms.yjj.pojo.Customer;
import com.wntms.yjj.pojo.Staff;

import java.util.List;

public interface StaffManagerService {

    public boolean add(Staff staff);
    public boolean delete(Integer id);

    public boolean update(Staff staff);

    public List<Staff> findAll();

    public Staff findByNum(String num);

    public Staff findByName(String name);

    public List<Staff> findByDepartment(String department);

    public List<Staff> findByCondition(Staff staff);

    public List<Staff> findByPage(Integer currentPage, Integer pageSize);
}
